﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MvvmLib;
using Emgu.CV;
using System.Collections.ObjectModel;
using MathFlowLib.FeatureJudge;

namespace MathFlowLib
{
    public class Vm_MathFlow_Output : Vm_Base
    {
        /// <summary>
        /// 图像
        /// </summary>
        public Mat MatImage
        {
            get { return _MatImage; }
            set
            {
                if (_MatImage != value)
                {
                    _MatImage = value;
                    this.OnPropertyChanged("MatImage");
                }
            }
        }
        private Mat _MatImage = new Mat();


        /// <summary>
        /// 特征集合
        /// </summary>
        public ObservableCollection<Vm_Feature> FeatureCollection
        {
            get { return _FeatureCollection; }
            set
            {
                if (_FeatureCollection != value)
                {
                    _FeatureCollection = value;
                    OnPropertyChanged("FeatureCollection");
                }
            }
        }
        private ObservableCollection<Vm_Feature> _FeatureCollection
            = new ObservableCollection<Vm_Feature>();

    }
}
